public class Nine {
    public static void main(String[] args) {
        for(int i=3;i<10;i++){
            System.out.println("3*"+i+"="+(3*i));
        }
    }
}
